package com.cc.cloud.order.controller;

import com.cc.cloud.order.feign.MemberFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class MemberFeignController {
    @Autowired
    private MemberFeign memberFeign;

    @RequestMapping("/getUserList")
    public List<String> getUserList() {
        return memberFeign.getOrderByUserList();
    }
}
